package cn.asiainfo.apportion.mapper;

import cn.asiainfo.apportion.po.BuApportionTypeDefinition;
import cn.asiainfo.apportion.po.BuApportionTypeDefinitionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BuApportionTypeDefinitionMapper {
    long countByExample(BuApportionTypeDefinitionExample example);

    int deleteByExample(BuApportionTypeDefinitionExample example);

    int deleteByPrimaryKey(Integer apportionType);

    int insert(BuApportionTypeDefinition record);

    int insertSelective(BuApportionTypeDefinition record);

    List<BuApportionTypeDefinition> selectByExample(BuApportionTypeDefinitionExample example);

    BuApportionTypeDefinition selectByPrimaryKey(Integer apportionType);

    int updateByExampleSelective(@Param("record") BuApportionTypeDefinition record, @Param("example") BuApportionTypeDefinitionExample example);

    int updateByExample(@Param("record") BuApportionTypeDefinition record, @Param("example") BuApportionTypeDefinitionExample example);

    int updateByPrimaryKeySelective(BuApportionTypeDefinition record);

    int updateByPrimaryKey(BuApportionTypeDefinition record);
}